@charset "utf-8";

$color: #2796ea;
$linkColor: #354052;
body {
  font-size: 13px;
  a {
    color: $linkColor;
    &:hover {
      color: #2796ea;
    }
  }

  .cl {
    clear: both;
  }
}

.table {
  tr {
    td, th {
      padding: 0px;
      line-height: 36px;
    }
  }
}

.txt-money{
  color:#f60;
}
.txt-disabled{
  color:#f60;
}
.txt-draft{
  color:#00bb00;
}



.fb-bg-nopic img ,img.fb-bg-nopic{
  background-image: url("../../common/images/no-images.jpg");
}

.mip-admin {
  background-color: #eef1f5;
  position: relative;
  .mip-header {
    background-color: #2796ea;
    height: 50px;
    line-height: 50px;
    position: fixed;
    width: 100%;
    z-index: 99;
    .mip-logo {
      width: 170px;
      font-size: 22px;
      float: left;
    }
    .mip-logo-a {
      padding-left: 15px;
      padding-right: 15px;
      color: #FFFFFF;
    }
    .mip-logo a {
      color: #fff;
    }
    .mip-logo .sub-v {
      font-size: 14px;
      color: #FFF;
    }
    .header-switch {
      float: left;
      list-style: none;
      padding-left: 0;
      li {
        float: left;
      }
      .link {
        display: inline-block;
        margin-left: 1px;
        padding: 0 10px;
        font-size: 14px;
        height: 50px;
        line-height: 50px;
        color: #fff;
        &.active {
          background-color: #228ee0;
        }
        &:hover {
          background-color: #228ee0;
        }
      }
    }
    .mip-user-info {
      float: right;
      padding-left: 15px;
      padding-right: 30px;
      a {
        color: #fff;
      }
    }
  }

  //侧边栏菜单
  .mip-menu {
    width: 150px;
    background-color: #222c3c;
    max-height: none !important;
    position: fixed;
    overflow: hidden;
    height: 100%;
    z-index: 99;
    top: 50px;
    .menu-wrap {
      position: absolute;
      left: 0;
      height: 100%;
      overflow-x: hidden;
      overflow-y: scroll;
      .menu-content {
        width: 150px;
        margin-bottom: 80px;
        .sidebar-title {
          padding-top: 25px;
          padding-bottom: 10px;
          padding-left: 15px;
          color: #7f8fa4;
          //                  text-align: center;
          //                  background-color: #273346;
          font-size: 12px;
          text-transform: uppercase;
        }
        & > .sidebar-list {
          padding-left: 0;
          margin: 0;
          & > .li {
            a {
              -webkit-transition: background .15s linear, color .15s linear;
              -o-transition: background .15s linear, color .15s linear;
              transition: background .15s linear, color .15s linear;
              color: #b7c0cd;
              display: block;
              width: 100%;
              margin: 0;
              height: 37px;
              line-height: 37px;
              padding: 0px 15px;
              text-decoration: none;
              font-size: 14px;
              background: 0 0;
              position: relative;
              .triangle-facing-left {
                display: inline-block !important;
              }
              .triangle-facing-bottom {
                display: none !important;;
              }

              &:hover {
                background-color: #1d2531;
                color: #fff;
              }
              & > i {
                font-size: 15px;
              }
            }
            &.has-sub {
              & > a {
                &:hover {
                  background-color: #222c3c;
                  color: #fff;
                }
              }
            }
            &.active {
              &.has-sub {
                & > a {
                  color: #b7c0cd;
                  background-color: #222c3c;
                  box-shadow: none;
                  &:hover {
                    color: #fff;
                    box-shadow: none;
                  }
                }
              }
              & > a {
                background-color: #1d2531;
                color: #2796ea;
                box-shadow: inset 3px 0 0 0 #2796ea;
                .triangle-facing-left {
                  display: none !important;;
                }
                .triangle-facing-bottom {
                  display: inline-block !important;;
                }
              }

              .sub-list {
                display: block;
              }
            }
            .sub-list {
              background-color: #1d2531;
              list-style: none;
              display: none;
              li {
                & > a {
                  padding-left: 30px;
                  position: relative;
                }
                &.active {
                  & > a {
                    box-shadow: inset 3px 0 0 0 #2796ea;
                    color: #2796ea;
                  }
                }
              }
            }
          }
        }

      }
    }
  }
  .list-icon {
    width: 20px;
    position: absolute;
    right: 10px;
    bottom: 0px;
  }
  .triangle-facing-left {
    display: inline-block;
    margin: 1px;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    width: 6px;
    height: 6px;
    transform: rotate(-135deg);
  }
  .triangle-facing-bottom {
    display: inline-block;
    margin: 1px;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    width: 6px;
    height: 6px;
    transform: rotate(-45deg);
  }

  //主布局
  .mip-main {
    .mip-container {
      position: fixed;
      width: 100%;
      z-index: 1;
      bottom: 0;
      top: 50px;
      padding-left: 150px;
      .mipcms-container-header {
        .header-group {
          .title {
            font-size: 22px;
            line-height: 31px;
            display: inline-block;
            float: left;
            &:after {
              display: inline-block;
              width: 1px;
              height: 15px;
              margin: 0px 15px;
              background-color: #dfe3e9;
              content: " ";
            }
          }
          .sub-title {
            float: left;
            display: block;
            line-height: 31px;
            font-size: 14px;
            color: #7f8fa4;
          }
        }
        padding: 15px;
        height: 62px;
        width: 100%;
        background-color: #fff;
        border-bottom: 1px solid #e6eaee;
        overflow: hidden;
      }
      .mipcms-container-body {
        padding: 15px 15px 100px;
        overflow: auto;
        height: 100%;
      }
    }

  }

}

//通用布局
//选项卡
.mip-box-tap {
  margin-bottom: 15px;
}

.tap-list {
  overflow: hidden;
  display: inline-block;
  li {
    float: left;
    a {
      padding: 8px 15px;
      display: inline-block;
      border-bottom: 0;
      z-index: 99;
      position: relative;
      transition: all .2s ease-in-out;
      margin-right: 10px;
      background-color: #fff;
    }
    &:hover {
      a {
        background-color: $color;
        color: #fff;
      }
    }
    &.active {
      a {
        background-color: $color;
        color: #fff;
      }
    }
  }
}

/*盒子*/
.mip-box {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 3px;
  border: 0;
  -webkit-box-shadow: initial;
  box-shadow: inherit;
  .mip-user-info {
    float: right;
    padding-left: 15px;
    padding-right: 30px
  }
  .mip-box-heading {
    color: $linkColor;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    position: relative;
    padding: 15px 0px;
    margin-left: 15px;
    margin-right: 15px;
    border-bottom: 1px solid #EFEFEF;
    overflow: hidden;
    h3 {
      margin: 0;
      line-height: 16px;
      font-size: 16px;
      font-weight: 500;
      color: $linkColor;
    }
    .right {
      position: absolute;
      right: 0;
      top: 12px;
      font-size: 13px;
      padding: 1px 5px;
      border: 1px solid transparent;
      line-height: 1.5;
    }
    .right:hover {
      border-radius: 3px;
      background-color: #eef1f5;
      color: $linkColor;
    }
  }
  .mip-box-body {
    padding: 15px;
    position: relative;
  }
  .mip-box-body:before,
  .mip-box-body:after {
    display: table;
    content: " "
  }
  .mip-box-body:after {
    clear: both
  }
}

//自定义列表
.content-list-header {
  margin-bottom: 10px;
}

.diy-table-list {
  background-color: #fff;
  border-radius: 3px;
  .diy-table-item-header {
    font-weight: 500;
    background-color: #f8f8f9;
    color: #7f8fa4;
    :hover {
      background-color: #f5f8fa !important;;
      color: #7f8fa4 !important;;
    }
  }
  .diy-table-body {
    color: #7f8fa4;
    a {
      color: $linkColor;
      font-weight: 500;
    }
    .tr1.diy-table-item:nth-child(odd) {
      background: #fff;
      &:hover {
        background-color: #eff3f6;
      }
    }
    .tr1.diy-table-item:nth-child(even) {
      background: #fbfbfb;
      background-color: rgba(230, 234, 238, .3);
      &:hover {
        background-color: #eff3f6;
      }
    }
    .is-open.tr-child {
      display: table-row;
    }
    .tr-child {
      display: none;
      background-color: #CCFFCC;
    }
  }
}

.side-box {
  position: fixed;
  padding: 0;
  box-sizing: border-box;
  display: block;
  background-color: inherit;
  width: 150px;
  margin: 0;
  overflow: hidden;
  .side-box-body {
    position: absolute;
    width: 100%;
    left: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: #fff;
  }
}

.side-box.box2 {
  width:400px;
}

.side-list {
  width: 150px;
  margin-bottom: 80px;
  ul {
    list-style: none;
    border-left:solid 1px #d4d4d4;
    border-top:solid 1px #d4d4d4;
    border-right:solid 1px #d4d4d4;
    border-radius: 3px;
    i {
      width: 9px;
      text-align: center;
      color: #b9b4b4;
      border-bottom:solid 1px #d4d4d4;
    }
    & > .nav-item {
      a {
        height: 37px;
        padding: 9px 15px;
        display: block;
        font-size: 0.8rem;
        font-weight: 500;
        color: $linkColor;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: break-all;
        text-decoration: none;
        width: 100%;
        transition: none;
        &:hover {
          color: $color;
        }
      }
      &.active > a {
        color: #fff;
        background-color: $color;
      }
      .children {
        li {
          position: relative;
        }
        li.active > a {
          color: #fff;
          background-color: $color;
        }
        a {
          padding-left: 35px;
          font-weight: 300;
          position: rerelative;
          &::after {
            position: absolute;
            top: 8px;
            left: 15px;
            content: '|';
            width: 6px;
            height: 6px;
          }
          &::before {
            position: absolute;
            top: 7px;
            left: 15px;
            content: '-';
            margin: 1px;
            width: 6px;
            height: 6px;
          }
          span {
            margin-left: -5px;
          }
          &:hover {
            color: $color;
          }
        }
      }
    }

  }
}

.content-box {
  .mip-box-body {
    min-height: 562px;
  }
  margin-left: 165px;
}
.content-box.box2{
  margin-left: 415px;
}

.no-block {
  text-align: center;
  min-height: 400px;
  padding-top: 130px;
  color: #7f8fa4;
  i {
    font-size: 60px;
  }
  p {
    margin-top: 10px;
  }
}

//占位隐藏
.v-h {
  visibility: hidden;
}

.v-s {
  visibility: inherit;
}

.ivu-page-item-active {
  a:not([href]):not([tabindex]) {
    color: #F60;
    text-decoration: none;
  }
}

label {
  margin-bottom: 0;
}

.over-h {
  overflow: hidden;
}

.over-h-e {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-center {
  text-align: center;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.text-warning {
  color: #ff9900 !important;
  &:hover {
    color: #f09025 !important;
  }
}

.text-danger {
  color: #ed3f14 !important;
  &:hover {
    color: #df3d22 !important;
  }
}

.text-success {
  color: #19be6b !important;
  &:hover {
    color: #27b468 !important;
  }
}

.form-line {
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  line-height: 0px;
  background: #fff;
  font-weight: 800;
  margin-top: 30px;
  height: 4px;
  margin-bottom: 30px;
  .form-line-inner {
    background: #fff;
    padding: 10px;
  }
}

.ivu-form-item {
  margin-bottom: 4px;

}

.form-note, .ivu-form-item .form-note {
  color: #999999;
  line-height: 28px;
  a {
    color: #F50;
  }
}

.ivu-form-label-top .ivu-form-item-label {
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  background-color: #FFF;
}
.fb-template-item{
  position: relative;
  .mip-box{
    .mip-box-body{
      padding: 6px;
    }
  }
  .fb-template-item-icon-box{
    position: absolute;
    background-color: #ececec;
    width: 26px;
    height: 26px;
    top:0px;
    right: 0px;
    z-index: 1010;
    border-bottom-left-radius: 15px;
  }
  .fb-template-item-icon{
    color:#229922;
    right:10px ;
    top: 20px;
  }
  .fb-template-item-img-box{
    height: 200px;
    overflow: hidden;
  }
}

.fbadmin-upload-img-box{
  position: relative;
  .fbadmin-upload-clear{
    position: absolute;
    right: 15px;
    top: 15px;
  }
}
.fb-img-site-logo{
  height: 60px;
}

.ivu-form-item-content .simditor .simditor-body {
  h3{
    font-weight: 800;
    padding: 10px 15px ;
    margin:30px 0 20px;
    color:#31708f;
    background-color: #d9edf7;
    border:solid 1px #bce8f1;
    font-size: 20px;
  }
  h5 {
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 35px;
  }
  h3:before, h5:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    margin-right: 16px;
    background-color: #9bc877;
  }

  h5:before{
    height:14px;
    background-color: #9be044;
  }

  img {
    border: dotted 1px #999;
  }


}
.ivu-form-item-content {
  .simditor .simditor-body, .editor-style {
    font-size: 15px;
  }

}